﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="Pages" Url="$Resources:cmscore,List_Pages_UrlName;" Path="Pages\Pages">
    <File Type="GhostableInLibrary" Name="Default.aspx" Url="Default.aspx">
      <Property Name="Title" Value="Events"/>
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.Events.NoTitleLayout.aspx" />
      <AllUsersWebPart WebPartZoneID="TopRow" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Events.WebParts.EventListWebPart, Eneta.Portal.Events, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import EventListWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Eneta portal event list web part</property>
                  <property name="Description" type="string">This web part shows list of events.</property>
                  <property name="ChromeState" type="chromestate">Normal</property>
                  <property name="ChromeType" type="chrometype">None</property>
                </properties>
              </data>
            </webPart>
          </webParts>
       ]]>
      </AllUsersWebPart>
    </File>
    <File Type="GhostableInLibrary" Name="NewEvent.aspx" Url="NewEvent.aspx">
      <Property Name="Title" Value="New event"/>
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.Profile.NoTitleNoCache.Layout.aspx" />
      <AllUsersWebPart WebPartZoneID="TopRow" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Events.WebParts.EventEditorWebPart, Eneta.Portal.Events, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import EventEditorWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Eneta portal event editor web part</property>
                  <property name="Description" type="string">This web part lets users insert and edit events.</property>
                  <property name="ChromeState" type="chromestate">Normal</property>
                  <property name="ChromeType" type="chrometype">None</property>
                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
  </Module>
</Elements>